package com.yoda.mall.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yoda.mall.model.entity.sms.FlashPromotion;

public interface FlashPromotionApi {
    void createFlash(FlashPromotion flashPromotion);

    void deleteFlashById(Long id);

    Page<FlashPromotion> getFlashPromotionListPage(String keyword, Integer pageNum, Integer pageSize);

    void updateFlashPromotionStatus(FlashPromotion flashPromotion);

    void updateFlashPromotion(FlashPromotion flashPromotion);

    FlashPromotion getFlashPromotionById(Long id);
}
